package com.ht.service.impl;

import com.ht.bean.*;
import com.ht.dao.StytingDao;
import com.ht.service.StypetingService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

//系统设置
@Service
public class StypetingServiceImpl implements StypetingService {
    @Resource
    private StytingDao dao;


    @Override
    public List<Studentfall> litfall(Integer pid, Integer lime, Studentfall studentfall) {
        return dao.litfall(pid,lime,studentfall);
    }

    @Override
    public int litafall(Studentfall studentfall) {
        return dao.litafall(studentfall);
    }

    @Override
    public boolean addfall(Studentfall studentfall) {
        return dao.addfall(studentfall);
    }

    @Override
    public boolean delfall(Integer fallId) {
        return dao.delfall(fallId);
    }

    @Override
    public Studentfall slitfall(Integer fallId) {
        return dao.slitfall(fallId);
    }

    @Override
    public boolean updfall(Studentfall studentfall) {
        return dao.updfall(studentfall);
    }

    //------------------------------------------------------------------------------------------------------
    @Override
    public List<Classtype> litclass(Integer pid, Integer lime, Classtype classtype) {
        return dao.litclass(pid,lime,classtype);
    }

    @Override
    public int litclasss(Classtype classtype) {
        return dao.litclasss(classtype);
    }

    @Override
    public boolean addclass(Classtype classtype) {
        return dao.addclass(classtype);
    }

    @Override
    public boolean delclass(Integer calssTypeId) {
        return dao.delclass(calssTypeId);
    }

    @Override
    public Classtype slitclass(Integer calssTypeId) {
        return dao.slitclass(calssTypeId);
    }

    @Override
    public boolean updeclass(Classtype classtype) {
        return dao.updeclass(classtype);
    }

    @Override
    public List<Dep> litdepp() {
        return dao.litdepp();
    }

    //--------------------------------------------------------------------------------------------------------------
    @Override
    public List<Map> litdep(Integer pid, Integer lime, Dep dep) {
        return dao.litdep(pid,lime,dep);
    }

    @Override
    public int littdep(Dep dep) {
        return dao.littdep(dep);
    }

    @Override
    public boolean adddep(Dep dep) {
        return dao.adddep(dep);
    }

    @Override
    public boolean deldep(Integer depid) {
        return dao.deldep(depid);
    }

    @Override
    public Dep slittdep(Integer depid) {
        return dao.slittdep(depid);
    }

    @Override
    public boolean updfdep(Dep dep) {
        return dao.updfdep(dep);
    }

    //-----------------------------------------------------------------------------------------------

    @Override
    public List<Dept> litdept(Integer pid, Integer lime, Dept dept) {
        return dao.litdept(pid,lime,dept);
    }

    @Override
    public int litdeptt(Dept dept) {
        return dao.litdeptt(dept);
    }

    @Override
    public boolean adddept(Dept dept) {
        return dao.adddept(dept);
    }

    @Override
    public boolean deldept(Integer deptId) {
        return dao.deldept(deptId);
    }

    @Override
    public Dept slitdept(Integer deptId) {
        return dao.slitdept(deptId);
    }

    @Override
    public boolean updedept(Dept dept) {
        return dao.updedept(dept);
    }

    //---------------------------------------------------------------------------------------------------------------------------------------

    @Override
    public List<Map> majdept() {
        return dao.majdept();
    }

    @Override
    public List<Map> litmajor(Integer pid, Integer lime, Major major) {
        return dao.litmajor(pid,lime,major);
    }

    @Override
    public int litmajorr(Major major) {
        return dao.litmajorr(major);
    }

    @Override
    public boolean adddmajor(Major major) {
        return dao.adddmajor(major);
    }

    @Override
    public boolean delmajor(Integer majorId) {
        return dao.delmajor(majorId);
    }

    @Override
    public Major slitmajort(Integer majorId) {
        return dao.slitmajort(majorId);
    }

    @Override
    public boolean updemajor(Major major) {
        return dao.updemajor(major);
    }

    //----------------------------------------------------------------------------------------

    @Override
    public List<Project> litproject(Integer pid, Integer lime, Project project) {
        return dao.litproject(pid,lime,project);
    }

    @Override
    public int litprojectt(Project project) {
        return dao.litprojectt(project);
    }

    @Override
    public boolean adddproject(Project project) {
        return dao.adddproject(project);
    }

    @Override
    public boolean delproject(Integer projectId) {
        return dao.delproject(projectId);
    }

    @Override
    public Project slitproject(Integer projectId) {
        return dao.slitproject(projectId);
    }

    @Override
    public boolean updeproject(Project project) {
        return dao.updeproject(project);
    }

    //---------------------------------------------------------------------------------------------------------------------------
    @Override
    public List<Module> inquire(Integer empId) {
        return dao.inquire(empId);
    }


}
